package com.vm.osm.business.dto.rsp.logic_node;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 逻辑节点树
 *
 * @author Xuerong Xue
 */
@Data
public class LogicNodeTree implements Serializable {
    @JsonIgnore
    public static final ThreadLocal<Map<String, LogicNodeTree>> MAP = new ThreadLocal<>();
    @ApiModelProperty("节点Id")
    private String id;
    @ApiModelProperty("节点名称")
    private String node_name;
    @ApiModelProperty("父节点Id")
    private String parent_id;
    @ApiModelProperty("节点类型Id")
    private String type_id;
    @ApiModelProperty("行业Id")
    private String industry_id;
    @ApiModelProperty("子节点")
    private List<LogicNodeTree> children;
}
